import axios from "@/api/http";


// 获取首页数据
let timestamp = new Date().getTime();
const homeData = () => {
    return axios.get('/wangyi/xhr/index.json?csrf_token=1e2a40464e638c7fd96cd7e26f7844c0&__timestamp=' + timestamp + '&')
}
// https://m.you.163.com/item/list.json?csrf_token=1e2a40464e638c7fd96cd7e26f7844c0&__timestamp=1625575195869&categoryId=1019000
const listData = (obj) => {
    return axios.get('/wangyi/item/list.json', { params: obj })
}

const detia
export default {
    homeData,
    listData,
};